<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>页面未找到 - 404</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Microsoft YaHei', Arial, sans-serif;
            background-color: #f5f5f5;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            color: #333;
        }
        .error-container {
            text-align: center;
            padding: 2rem;
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            max-width: 600px;
            width: 90%;
        }
        .error-code {
            font-size: 120px;
            font-weight: bold;
            color: #e74c3c;
            margin-bottom: 1rem;
            line-height: 1;
        }
        .error-message {
            font-size: 24px;
            margin-bottom: 2rem;
            color: #2c3e50;
        }
        .error-description {
            font-size: 16px;
            color: #7f8c8d;
            margin-bottom: 2rem;
        }
        .home-button {
            display: inline-block;
            padding: 12px 30px;
            background-color: #3498db;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            transition: background-color 0.3s;
        }
        .home-button:hover {
            background-color: #2980b9;
        }
        .illustration {
            margin: 2rem 0;
            max-width: 300px;
        }
    </style>
</head>
<body>
<div class="error-container">
    <div class="error-code">404</div>
    <img src="${pageContext.request.contextPath}/static/images/404.svg" alt="404 Illustration" class="illustration" onerror="this.style.display='none'">
    <h1 class="error-message">页面未找到</h1>
    <p class="error-description">抱歉，您访问的页面不存在或已被移除。</p>
    <a href="${pageContext.request.contextPath}/" class="home-button">返回首页</a>
</div>
</body>
</html>